/**
 * 
 */
package com.mvc.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mvc.model.healthmanager.archive.WeightHeight;
import com.mvc.model.personHealth.UserWeightHeight;

/**
 * 体重Dao
 * @author qingjie
 *
 */
public interface WeightHeightDao {
	/**
	 * 根据个人id,获取最新体重记录
	 * @author qingjie
	 * @param personId
	 * @return
	 * Date:2015-11-15
	 */
	public List<WeightHeight> getNewWeightHeight(@Param("personId") String personId);
	
	public List<WeightHeight> getWeightHeight(@Param("wh") WeightHeight wh);
	
	public List<WeightHeight> getJsonData(@Param("personId") String personId);
	
	/**
	 * 根据ID信息列表
	 * @param uWeight
	 * @return
	 */
	public UserWeightHeight getUserYhWeightById(@Param(value = "uWeight") UserWeightHeight uWeight);
	
}
